ראיון לתפקיד מפתח Python
יוני 2020
28.08.2020
|
פרטים כלליים לגבי התהליך
|
Good company.
1-2 for assignment
|
שאלות מתוך הראיון
|
# 1 -
Create bash or python script that generates a directory tree with files in following structure:
"data_source/study_/series_/.dcm"
Run your script and create 100 studies directories and for each directory of study create 3 to 6(random) series folders and inside each series create 5 ".dcm" files.
(".dcm" files can be empty).
After you finish you should have -
data_source folder with 100 study_ folders with 3 to 6 series_ folders with 5 "random_id3.dcm" files.
# Task 2 -
* Deploy redis image on your computer -
docker run -p 6379:6379 --name redis -d redis
* Deploy postgresql ( or any other relational database) -
docker run -p 5432:5432 --name postgres -d postgres:11.3
*Bonus - create docker compose file that create both services.
# Task 3s.
|
תשובות
|
הוסף תשובה
|
לצפיה בתשובות
|
|
|
|
|
אוגוסט 2020
|
|
After you finish, you should submit:
1. A script/code from task #1 + directory list that had been created (including files).
2. Exported table from the database from task #3.
3. Cron job code from task #4
4. Queries and queries results from task
|
|
|
|
|
|
|